package
{
	import org.compactmvc.patterns.Command;
	import org.compactmvc.patterns.Controller;
	import org.compactmvc.vo.NoteVO;
	
	public final class CommandExample extends Command
	{
		[Inject]
		public var model:ApplicationModel;
		
		public function CommandExample(controller:Controller)
		{
			super(controller);
		}
		
		override public function execute(note:NoteVO):void
		{
			var vo:SettingsVO = note.data as SettingsVO;
			
			model.update(vo);
		}
		
	}
}